package com.heima.shengchanzhe;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class MyPro extends Thread{
    public MyPro() {
    }

    public MyPro(String name) {
        super(name);
    }

    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println(getName()+"--"+i);
        }
    }
}
